package com.example.hs.Repository;
import com.example.hs.Pojo.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository  extends JpaRepository<Order, Integer> {
    List<Order> findByUser_userId(int userId);

    List<Order> findByRecycler_recyclerId(int recyclerId);
}
